package com.imagecollector.service;

import com.imagecollector.common.R;
import com.imagecollector.domain.dto.PictureSearchDTO;
import com.imagecollector.domain.entity.Picture;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 图片数据表 服务类
 * </p>
 *
 * @author wrf
 * @since 2024-07-31
 */
public interface IPictureService extends IService<Picture> {
    /**
     * 分页查询图片
     * @param requestParam 分页查询请求参数
     * @return 图片数据和相关分页信息
     */
    R pageQueryPictures(PictureSearchDTO requestParam);

    Picture getPicture(Integer taskId, Integer userId, Integer submitRecordId);

}
